package com.ruoyi.LXHappointment.mapper;

import java.util.List;
import com.ruoyi.LXHappointment.domain.LXHAppointment;
import org.apache.ibatis.annotations.Mapper;

/**
 * 个人预约就诊Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
@Mapper
public interface LXHAppointmentMapper 
{
    /**
     * 查询个人预约就诊
     * 
     * @param appId 个人预约就诊主键
     * @return 个人预约就诊
     */
    public LXHAppointment selectLXHAppointmentByAppId(Long appId);

    /**
     * 查询个人预约就诊列表
     * 
     * @param lXHAppointment 个人预约就诊
     * @return 个人预约就诊集合
     */
    public List<LXHAppointment> selectLXHAppointmentList(LXHAppointment lXHAppointment);

    /**
     * 新增个人预约就诊
     * 
     * @param lXHAppointment 个人预约就诊
     * @return 结果
     */
    public int insertLXHAppointment(LXHAppointment lXHAppointment);

    /**
     * 修改个人预约就诊
     * 
     * @param lXHAppointment 个人预约就诊
     * @return 结果
     */
    public int updateLXHAppointment(LXHAppointment lXHAppointment);

    /**
     * 删除个人预约就诊
     * 
     * @param appId 个人预约就诊主键
     * @return 结果
     */
    public int deleteLXHAppointmentByAppId(Long appId);

    /**
     * 批量删除个人预约就诊
     * 
     * @param appIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLXHAppointmentByAppIds(Long[] appIds);

    int insertLXHTreatment(Long generatedAppId);




}
